﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="wfrmLegajoJudicialListar.aspx.cs" Inherits="PresentationLayer.WebForm4" %>
<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxRoundPanel" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPanel" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxGridView.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dx1" %>
<%@ Register assembly="DevExpress.Web.ASPxEditors.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <dx:ASPxRoundPanel ID="ASPxRoundPanel1" runat="server" 
        CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css" CssPostfix="BlackGlass" 
        GroupBoxCaptionOffsetY="-22px" 
        SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css" Width="100%" 
        HeaderText="Actualizar Legajo Judicial">
        <ContentPaddings PaddingBottom="5px" PaddingLeft="2px" PaddingTop="5px" />
        <HeaderStyle Height="23px">
        <Paddings PaddingBottom="0px" PaddingLeft="3px" PaddingTop="0px" />
        </HeaderStyle>
        <PanelCollection>
            <dx:PanelContent runat="server" SupportsDisabledAttribute="True">
                <table style="width:100%;">
                    <tr>
                        <td colspan="3">
                            <div style="width: 444px">
                                <table style="width:41%;">
                                    <tr>
                                        <td class="style2">
                                            <dx:ASPxButton ID="btnNuevo" runat="server" 
                                                CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css" CssPostfix="BlackGlass" 
                                                OnClick="btnNuevo_Click" 
                                                SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css" Text="Nuevo">
                                            </dx:ASPxButton>
                                        </td>
                                        <td class="style3">
                                            <dx:ASPxButton ID="btnModificar" runat="server" 
                                                CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css" CssPostfix="BlackGlass" 
                                                SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css" Text="Modificar" OnClick="btnModificar_Click">
                                            </dx:ASPxButton>
                                        </td>
                                        <td class="style4">
                                            <dx:ASPxButton ID="btnEliminar" runat="server" 
                                                CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css" CssPostfix="BlackGlass" 
                                                SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css" Text="Eliminar">
                                            </dx:ASPxButton>
                                        </td>
                                        <td>
                                            <dx:ASPxButton ID="btnSalir" runat="server" 
                                                CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css" CssPostfix="BlackGlass" 
                                                Height="23px" SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css" 
                                                Text="Salir" Width="61px" OnClick="btnSalir_Click">
                                            </dx:ASPxButton>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="3">
                            <dx1:ASPxGridView ID="dgLegajo" runat="server" AutoGenerateColumns="False" 
                                Width="100%" CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css" CssPostfix="BlackGlass"
                                KeyFieldName="CO_legajo"
                                OnAfterPerformCallback="dgLegajo_AfterPerformCallback"
                                OnHeaderFilterFillItems="dgLegajo_HeaderFilterFillItems" 
                                OnPageIndexChanged="dgLegajo_PageIndexChanged">
                                <Columns>
                                    <dx1:GridViewDataTextColumn Caption="N° Legajo Judicial" FieldName="CO_legajo" ShowInCustomizationForm="True" VisibleIndex="0"></dx1:GridViewDataTextColumn>
                                    <dx1:GridViewDataDateColumn Caption="Fecha de Legajo" FieldName="FE_ingreso" ShowInCustomizationForm="True" UnboundType="DateTime" VisibleIndex="1" Width="100px">
                                            <PropertiesDateEdit DisplayFormatString="dd/MM/yyyy"></PropertiesDateEdit>
                                    </dx1:GridViewDataDateColumn>
                                    <dx1:GridViewDataTextColumn Caption="Tipo de Proceso" FieldName="VR_proceso" ShowInCustomizationForm="True" VisibleIndex="2"></dx1:GridViewDataTextColumn>
                                    <dx1:GridViewDataTextColumn Caption="Entidad" FieldName="VR_tipodemandante" ShowInCustomizationForm="True" VisibleIndex="3"></dx1:GridViewDataTextColumn>
                                    <dx1:GridViewDataTextColumn Caption="Demandante" FieldName="TX_agraviado" ShowInCustomizationForm="True" VisibleIndex="4"></dx1:GridViewDataTextColumn>
                                    <dx1:GridViewDataTextColumn Caption="Estado" FieldName="VR_estado" ShowInCustomizationForm="True" VisibleIndex="5"></dx1:GridViewDataTextColumn>
                                    <dx1:GridViewDataTextColumn Caption="Monto Petitorio" FieldName="QT_petirorio" ShowInCustomizationForm="True" VisibleIndex="6"></dx1:GridViewDataTextColumn>
                                    <dx1:GridViewDataTextColumn Caption="Monto Autorizado" FieldName="QT_montoautorizado" ShowInCustomizationForm="True" VisibleIndex="7"></dx1:GridViewDataTextColumn>
                                    <dx1:GridViewDataTextColumn Caption="Tipo de Documento" FieldName="NO_tipo_Documento" ShowInCustomizationForm="True" VisibleIndex="8"></dx1:GridViewDataTextColumn>
                                    <dx1:GridViewDataTextColumn Caption="N° de Documento" FieldName="NU_documento" ShowInCustomizationForm="True" VisibleIndex="9"></dx1:GridViewDataTextColumn>
                                </Columns>
                                <SettingsBehavior AllowFocusedRow="True" />
                                <Settings ShowFilterRow="True" ShowGroupPanel="True" />
                                <SettingsBehavior AllowFocusedRow="True"></SettingsBehavior>
                                <Settings ShowFilterRow="True"></Settings>
                                <Images SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css">
                                    <LoadingPanelOnStatusBar Url="~/App_Themes/BlackGlass/GridView/gvLoadingOnStatusBar.gif">
                                    </LoadingPanelOnStatusBar>
                                    <LoadingPanel Url="~/App_Themes/BlackGlass/GridView/Loading.gif">
                                    </LoadingPanel>
                                </Images>
                                <ImagesFilterControl>
                                    <LoadingPanel Url="~/App_Themes/BlackGlass/Editors/Loading.gif">
                                    </LoadingPanel>
                                </ImagesFilterControl>
                                <Styles CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css" CssPostfix="BlackGlass">
                                    <Header ImageSpacing="5px" SortingImageSpacing="5px">
                                    </Header>
                                </Styles>
                                <StylesEditors>
                                    <CalendarHeader Spacing="1px">
                                    </CalendarHeader>
                                    <ProgressBar Height="25px">
                                    </ProgressBar>
                                </StylesEditors>
                            </dx1:ASPxGridView>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                </table>
            </dx:PanelContent>
        </PanelCollection>
    </dx:ASPxRoundPanel>
</asp:Content>
